package main

import (
	"github.com/gin-gonic/gin"
)

func main() {
	//gin.SetMode(gin.ReleaseMode)
	g := gin.Default()
	g.POST("/uploadEncrypt", uploadFileForEncrypt)
	g.POST("/uploadDecrypt", uploadFileForDecrypt)
	g.StaticFile("/", "./uploadForEncrypt.html")
	g.StaticFile("/de", "./uploadForDecrypt.html")

	g.Run(":8090")
}
